package com.lzw.service;

import com.lzw.bean.MenuNode;
import com.lzw.bean.UserRole;
import com.lzw.common.bean.Result;
import com.lzw.common.service.BaseService;

import java.util.List;

/**
 * Created by 林志伟 on 2017/5/11.
 */
public interface UserRoleService extends BaseService<UserRole>{

    public Result insertAll(List<UserRole> userRoles);

    public Result deleteOther(int user_id, int[] role_ids);
    public Result setRole(int user_id, int[] role_ids);

    public UserRole findByUserIdRoleId(int user_id, int role_id);
}
